package com.hzdl.car.mapper;

import com.hzdl.car.bean.Car;
import com.hzdl.car.bean.Customer;
import com.hzdl.car.bean.News;
import com.hzdl.car.bean.Rent;
import com.hzdl.car.vo.CarVo;
import com.hzdl.car.vo.RentVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RentMapper {
    Customer findById(String identity);
    int add(RentVo rentVo);
    int update(RentVo rentVo);
    int delete(String rentid);
    List<Rent> findWhere(RentVo rentVo);
    Car findByrentId (String rentid);
    Rent findByIdrent(String rentid);
}
